#ifndef IO_H_INCLUDED
#define IO_H_INCLUDED
#include <stdio.h>
#include "user.h"
#include "recod.h"
#include "book.h"

const char* get_users_db_path();
const char* get_books_db_path();
const char* get_recods_db_path();

FILE* initialize_file(const char* path);
int sync_cache(user*, book*, recod*);

char* get_admin_password();
void set_admin_password(char*);
#endif // IO_H_INCLUDED
